package com.ysactive.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "project.file")
public class FileConfiguration {

    /* 文件存储目录 */
    private String fileStoreDir;

    /* 图片扩展名 */
    private List<String> imgExtName = new ArrayList<>();

    /* 视频扩展名 */
    private List<String> videoExtName = new ArrayList<>();


}
